﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ASmile.Com
{
    /// <summary>
    /// 打印数据
    /// </summary>
    public class PrintData
    {
        /// <summary>
        /// 报表名称，主报表为空
        /// </summary>
        public string SubReportName { set; get; }
        /// <summary>
        /// 图片参数列表
        /// </summary>
        public Dictionary<string, byte[]> ImageArgList { set; get; }
        /// <summary>
        /// 子报表参数
        /// </summary>
        public List<PrintData> SubReports { set; get; }
        /// <summary>
        /// 参数对象, 支持 class、Dictionary
        /// </summary>
        public object[] ParameterData { set; get; }
        /// <summary>
        /// 明细数据，支持 DataTable、IList、DataGridView
        /// </summary>
        public object DetailData { set; get; }
    }
}
